package com.healthcloud.service.hospital;

import com.healthcloud.entity.SysOrganiEntity;
import com.healthcloud.entity.SysRoleEntity;
import com.healthcloud.utils.PageParam;

import java.util.List;

/**
 * 
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2018-06-11 17:34:26
 */
public interface SysOrganiService {
	
	SysOrganiEntity queryObject(Long id);
	
    List<SysOrganiEntity> queryList(SysOrganiEntity bean, PageParam pageParam);
	
	int queryTotal(SysOrganiEntity bean);
	
	void save(SysOrganiEntity sysOrgani);
	
	void update(SysOrganiEntity sysOrgani);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

    List<SysOrganiEntity> queryListAll();

	SysOrganiEntity queryByUserId(Long userId);

	Integer getOrganiType();

	SysOrganiEntity getOrgani();
}
